package com.hkbigdata.sybx.mapper;


import com.hkbigdata.sybx.bean.Admin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author yangjing
 * @creat 2025-05-07-11:42
 * @email 3010335359@qq.com
 */
@Mapper
public interface AdminMapper {
    List<Admin> getAllUsers();
    Admin getAdminBeanByAccount(String admin_phone);
    int addAdmin(Admin admin);
    // 新增方法
    int deleteAdmin(String admin_phone);
    int updateAdmin(Admin admin);
}
